package com.example.base.aop.login

import com.example.base.BaseApp
import com.example.base.ext.navigationTo


object LoginManager {

    @JvmStatic
    fun isLogin(): Boolean {

        return !BaseApp.USER_TOKEN1.isNullOrEmpty()
    }

    @JvmStatic
    fun gotoLoginPage() {
        // TODO: 跳转到登录页面
      //  commContext().gotoActivity<LoginDemoActivity>()

        navigationTo(
            "/main/LoginForPieceActivity"
        )
    }
}